package com.jy.modules.cims.common.open.api.dto;

import java.io.Serializable;

import com.jy.modules.cims.common.open.api.enums.EntryResponseEnum;

public class ResponseContent
  implements Serializable
{
  private static final long serialVersionUID = -621753742534725L;
  private String retCode;
  private String message;
  private String method;
  private String sign;
  private String data;
  
  public ResponseContent() {}
  
  public ResponseContent(EntryResponseEnum entryRes)
  {
    this.retCode = entryRes.getCode();
    this.message = entryRes.getMessage();
  }
  
  public ResponseContent(String retCode, String message)
  {
    this.retCode = retCode;
    this.message = message;
  }
  
  public String getMethod()
  {
    return this.method;
  }
  
  public void setMethod(String method)
  {
    this.method = method;
  }
  
  public String getData()
  {
    return this.data;
  }
  
  public void setData(String data)
  {
    this.data = data;
  }
  
  public String getRetCode()
  {
    return this.retCode;
  }
  
  public void setRetCode(String retCode)
  {
    this.retCode = retCode;
  }
  
  public String getMessage()
  {
    return this.message;
  }
  
  public void setMessage(String message)
  {
    this.message = message;
  }
  
  public String getSign()
  {
    return this.sign;
  }
  
  public void setSign(String sign)
  {
    this.sign = sign;
  }
  
  public String toString()
  {
    return "{retCode=" + this.retCode + ", message=" + this.message + ", method=" + this.method + ", sign=" + this.sign + ", data=" + this.data + "}";
  }
}
